package net.xiangcaowuyu.springcloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 博客：https://www.xiangcaowuyu.net
 * Description:
 *
 * @Author: 香草物语
 * DateTime: 2021-07-24 15:12
 */
@Component
@FeignClient( value = "cloud-provider-payment")
public interface OpenFeignService {

    @RequestMapping(value = "/payment/zk", method = RequestMethod.GET)
    String paymentzk();

    @RequestMapping(value = "/payment/feign/timeout",method = RequestMethod.GET)
    String paymentFeignTimeout();
}
